package com.ungao.framework.context;

import com.ungao.framework.exception.RegisterBeanException;
import com.ungao.framework.scanner.AnnotationScanner;

/**
 * 注解配置扫描方式应用上下文
 *
 * @author vic-ungao
 */
public class AnnotationTypeApplicationContext extends AbstractApplicationContext {

    public AnnotationTypeApplicationContext(String scanPackage) {
        super.startup(this.scanner.scanPackage(scanPackage));
    }

    @Override
    protected void initApplicationContext(AnnotationScanner annotations) throws RegisterBeanException {
        
    }
}
